package cn.tkxqc.sell.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {

    PRODUCT_NOT_EXSIT(10,"商品不存在"),

    PRODUCT_STOCK_ERROR(11,"商品库存不存在"),
    ;

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
